package main

import "fmt"

func maxNum(a, b int) int {
	if a > b {
		return a
	}else {
		return b
	}
}

func swap(a, b string) (string, string) {
	return b, a
}


func main()  {
	var a = 100
	var b = 120
	var c = maxNum(a, b)
	var printInfo string
	printInfo = fmt.Sprintf( "max num of %d and %d is %d", a, b, c)
	fmt.Println(printInfo)

	strA := "123"
	strB := "456"
	strA, strB = swap(strA, strB)
	fmt.Println(strA, strB)
}